﻿using BCCommon.Extensions;
using BCCommon.TMS.Driver;
using System;

namespace BCDto.TMS.WorkingReport
{
    public class WorkingReportDto
    {

        /// <summary>
        /// 工作上报信息Id
        /// </summary>
        public long WorkingReportId { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public long CompanyId { get; set; }
        /// <summary>
        /// 司机Id
        /// </summary>
        public long DriverId { get; set; }
        /// <summary>
        /// 司机手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 司机姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 角色(货车司机,跑腿,骑手)
        /// </summary>
        public DriverRoleType Role { get; set; }
        /// <summary>
        /// 司机角色
        /// </summary>
        public string RoleStr { get { return this.Role.GetDescriptionString(); } }
        /// <summary>
        /// 省份Id
        /// </summary>
        public long ProvinceId { get; set; }
        /// <summary>
        /// 省份编码
        /// </summary>
        public string ProvinceCode { get; set; }
        /// <summary>
        /// 省份名称
        /// </summary>
        public string ProvinceName { get; set; }
        /// <summary>
        /// 城市Id
        /// </summary>
        public long CityId { get; set; }
        /// <summary>
        /// 城市编码
        /// </summary>
        public string CityCode { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 区县Id
        /// </summary>
        public long? CountyId { get; set; }
        /// <summary>
        /// 区/县编码
        /// </summary>
        public string CountyCode { get; set; }
        /// <summary>
        /// 区/县名称
        /// </summary>
        public string CountyName { get; set; }
        /// <summary>
        /// 今日完成工作
        /// </summary>
        public string TodayFinishedContent { get; set; }
        /// <summary>
        /// 未完成的工作
        /// </summary>
        public string UnfinishedContent { get; set; }
        /// <summary>
        /// 需要协调的工作
        /// </summary>
        public string NeedCoordinatedContent { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 附件图片
        /// </summary>
        public string Attachment { get; set; }
        /// <summary>
        /// 上报日期
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
